package com.smart_campus.teg.mapper;

import com.smart_campus.teg.vo.ClassVo;
import com.smart_campus.teg.vo.StudentVo;
import com.smart_campus.teg.vo.TeacherVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @aytgor 陈鹏
 * @date 2020/6/20 9:08
 */
public interface PersonnerMapper {
    List<TeacherVo> TeacherList(TeacherVo teacherVo);

    List<StudentVo> StudentList(StudentVo studentVo);

    List<Integer> getCid(Integer id);

    void DeleteCourseTeacher(Integer uid);

    void InsertCourseTeacher(@Param("uid") Integer uid, @Param("cid") Integer cid);

    List<ClassVo> getStudentClass();

    Integer getStudentClass1(Integer id);

    Integer deleteStudentClass(Integer id);

    Integer insertStudentClass(@Param("uid") Integer uid, @Param("cid") Integer cid);
}
